using AtomicCms.Common.Models;

namespace AtomicCms.Services.Abstract
{
    using System.Collections.Generic;
    using System.Security.Principal;
    using Common.Entities;

    public interface IPageService
    {
        void Save(CmsPage entry, string userName);
        void CreateEntry(CmsPage entry, string userName);
        void Delete(int id);
        CmsPage Load(int id);
        CmsPage LoadDefault();
        IEnumerable<CmsPage> LoadAll();
        IEnumerable<CmsPage> LoadLastCreated();
        ICollection<Page> GetPagesWithTag(string tag);
    }
}